﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 导入现金流量项目DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfISVImportCFVoucherItemDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfISVImportCFVoucherItemDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					SerialNumber= 0; 
				
					CashFlowItemAttr= 0; 
				
		
					OCMoney=0m; 
					LCMoney=0m; 
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.Voucher != null) 
			{
				this.Voucher.DoSerializeKeyList(dict);
			}
	        			if (this.VoucherEntry != null) 
			{
				this.VoucherEntry.DoSerializeKeyList(dict);
			}
	        	        			if (this.CashFlowItem != null) 
			{
				this.CashFlowItem.DoSerializeKeyList(dict);
			}
	        	        			if (this.RelOrg != null) 
			{
				this.RelOrg.DoSerializeKeyList(dict);
			}
	        			if (this.Currency != null) 
			{
				this.Currency.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.CopyOfISVImportVoucherDTO != null) 
			{
				this.CopyOfISVImportVoucherDTO.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfISVImportCFVoucherItemDTOData(  ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData voucher  , ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData voucherEntry  , System.Int32 serialNumber  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData cashFlowItem  , System.Int32 cashFlowItemAttr  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData relOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData currency  , System.Decimal oCMoney  , System.Decimal lCMoney  , ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData copyOfISVImportVoucherDTO  )
		{
			initData();
			this.Voucher = voucher;
			this.VoucherEntry = voucherEntry;
			this.SerialNumber = serialNumber;
			this.CashFlowItem = cashFlowItem;
			this.CashFlowItemAttr = cashFlowItemAttr;
			this.RelOrg = relOrg;
			this.Currency = currency;
			this.OCMoney = oCMoney;
			this.LCMoney = lCMoney;
			this.CopyOfISVImportVoucherDTO = copyOfISVImportVoucherDTO;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 凭证
		/// 导入现金流量项目DTO Copy.Misc.凭证
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData m_voucher ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData Voucher
		{
			get	
			{	
				return m_voucher ;
			}
			set	
			{	
				m_voucher = value ;	
			}
		}
			
		

		/// <summary>
		/// 凭证分录
		/// 导入现金流量项目DTO Copy.Misc.凭证分录
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData m_voucherEntry ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportEntryDTOData VoucherEntry
		{
			get	
			{	
				return m_voucherEntry ;
			}
			set	
			{	
				m_voucherEntry = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 导入现金流量项目DTO Copy.Misc.行号
		/// </summary>
		private System.Int32 m_serialNumber ;
		[DataMember(IsRequired=false)]
		public System.Int32 SerialNumber
		{
			get	
			{	
				return m_serialNumber ;
			}
			set	
			{	
				m_serialNumber = value ;	
			}
		}
			
		

		/// <summary>
		/// 现金流量项目
		/// 导入现金流量项目DTO Copy.Misc.现金流量项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_cashFlowItem ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CashFlowItem
		{
			get	
			{	
				return m_cashFlowItem ;
			}
			set	
			{	
				m_cashFlowItem = value ;	
			}
		}
			
		

		/// <summary>
		/// 现金流量项目流向
		/// 导入现金流量项目DTO Copy.Misc.现金流量项目流向
		/// </summary>
		private System.Int32 m_cashFlowItemAttr ;
		[DataMember(IsRequired=false)]
		public System.Int32 CashFlowItemAttr
		{
			get	
			{	
				return m_cashFlowItemAttr ;
			}
			set	
			{	
				m_cashFlowItemAttr = value ;	
			}
		}
			
		

		/// <summary>
		/// 关系企业
		/// 导入现金流量项目DTO Copy.Misc.关系企业
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_relOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RelOrg
		{
			get	
			{	
				return m_relOrg ;
			}
			set	
			{	
				m_relOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 币种
		/// 导入现金流量项目DTO Copy.Misc.币种
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_currency ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Currency
		{
			get	
			{	
				return m_currency ;
			}
			set	
			{	
				m_currency = value ;	
			}
		}
			
		

		/// <summary>
		/// 原币金额
		/// 导入现金流量项目DTO Copy.Misc.原币金额
		/// </summary>
		private System.Decimal m_oCMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal OCMoney
		{
			get	
			{	
				return m_oCMoney ;
			}
			set	
			{	
				m_oCMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 本币金额
		/// 导入现金流量项目DTO Copy.Misc.本币金额
		/// </summary>
		private System.Decimal m_lCMoney ;
		[DataMember(IsRequired=false)]
		public System.Decimal LCMoney
		{
			get	
			{	
				return m_lCMoney ;
			}
			set	
			{	
				m_lCMoney = value ;	
			}
		}
			
		

		/// <summary>
		/// 导入凭证DTO Copy
		/// 导入现金流量项目DTO Copy.Misc.导入凭证DTO Copy
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData m_copyOfISVImportVoucherDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfISVImportVoucherDTOData CopyOfISVImportVoucherDTO
		{
			get	
			{	
				return m_copyOfISVImportVoucherDTO ;
			}
			set	
			{	
				m_copyOfISVImportVoucherDTO = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
